<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:include page="/WEB-INF/templateFrontoffice/header.jsp"/>
  <div id="container">
    <div id="top">
      <span id="arianne">
          <a href="<c:url value='/'/>">Accueil</a> > 
          <a href="<c:url value='/masociete'/>">Ma societe</a> > 
          <a href="<c:url value='/masociete/creeraction'/>">Créer action</a>
      </span>
      <br/>
      <div id="mainlarge">
      <form action="<c:url value='/action/vendre?idcontrat=${param.idcontrat}'/>" method="POST">
        <h2>Création d'une action</h2>
        <p><span class="error">${error}</span></p>
            <table>
                <tr>
                	<td class="bold"><label for="typevente">Type Vente</label></td>
                	<td>
                		<input type="radio" name="typevente" value="vente" required />Vente directe<br/>
                		<input type="radio" name="typevente" value="enchere"/>Enchère<br/>
                	</td>
                </tr>
                <tr>
                	<td class="bold"><label for="prix">Prix</label></td>
                	<td><input type="text" id="prix" name="prix" /></td>
                </tr>
                <tr>
                	<td class="bold"><label for="dateecheance">Date échéance</label></td>
                	<td><input type="text" id="dateecheance" name="dateecheance" placeholder="JJ/MM/AAAA"/></td>
                </tr>
            </table>
        <br/>
        <input type="submit" value="Créer offre"/>
        </form>
      </div>
    <!--end bottom-->
  </div>
  </div>
<jsp:include page="/WEB-INF/templateFrontoffice/footer.jsp"/>